What contributed to the rise of the AfD